package co.fitstart.market.service;

import java.util.List;

import co.fitstart.entity.market.InvitationStatus;
import co.fitstart.entity.market.MarketInvitationRecord;

/**
 * 
 * @author dan
 *
 */
public interface MarketInvitationRecordService {
    
    /**
     * 
     * @param inviter
     * @return
     */
    public List<MarketInvitationRecord> list(String inviter);
    
    /**
     * 
     * @param inviter
     * @param invitee
     */
    public void create(String inviter, String invitee);
    
    /**
     * 
     * @param marketInvitationRecord
     * @param status
     */
    public void updateStatus(MarketInvitationRecord marketInvitationRecord, InvitationStatus status);

}
